package com.yc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName("userRedPacketRecord")
@Data
@NoArgsConstructor
public class UserRedPacketRecord {
    @TableId("recordId")
    private Long recordId; // 记录ID
    @TableField("userId")
    private Long userId; // 用户ID
    @TableField("activityId")
    private Long activityId; // 红包活动ID
    @TableField("grabAmount")
    private Double grabAmount; // 领取的红包金额
    @TableField("grabTime")
    private LocalDateTime grabTime; // 领取时间
}
